-
Notifications
You must be signed in to change notification settings - Fork 136
Fix protolayout warning by updating its version #14797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upgrades `androidx.wear.protolayout` to version `1.2.1` to resolve known issues present in the version previously used by Horologist.
Generated by 🚫 Danger |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/23.5 #14797 +/- ##
===============================================
Coverage 38.08% 38.08%
Complexity 9998 9998
===============================================
Files 2119 2119
Lines 119170 119170
Branches 16228 16228
===============================================
+ Hits 45384 45385 +1
+ Misses 69207 69206 -1
Partials 4579 4579 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing this @irfano. Changes look good.
I just left a question about the removed dependencies
PS: I'll create a new wearable release candidate once this is merged
| androidx-test-uiautomator = '2.3.0' | ||
| androidx-transition = '1.6.0' | ||
| androidx-wear-compose = '1.4.0' | ||
| androidx-wear-tiles = '1.3.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. 🤔 They're defined in libs.versions.toml for androidx-wear-tiles-main and androidx-wear-tiles-material, but they're not used anywhere.
Implementation for those were removed recently (https://github.com/woocommerce/woocommerce-android/pull/14710/files) but those left behind in libs.versions.toml.
Closes WOOMOB-1552
Description
This PR updates the
protolayout-expressionversion used transitively by the Wear app through the Horologist library. See WOOMOB-1552 for more details about the known issues withprotolayout-expression:1.0.0-beta01.Steps to reproduce
./gradlew assembleDebug --scanand in the result report, check dependencies and verify thatandroidx.wear.protolayout:protolayout-expression:1.0.0-beta01is forced to1.2.1.The tests that have been performed
Tested the Wear app to ensure it compiles and launches without any issues.
Images/gif
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.